package com.ai.entity.alarm;

/**
 * @Author：xiaosheng
 * @Date：2024/6/4 13:53
 */

import com.ai.model.param.CGAlarmAdditionalParameter;
import com.ai.model.param.CGDefectParam;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 页面查询返回值
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DefectParamVO implements Serializable {

    /**
     * 主键,主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 带钢号
     */
    private String stripNo;

    /**
     * 钢卷厚度
     */
    private String steelThickness;
    /**
     * 钢卷宽度
     */
    private String steelWidth;
    /**
     * 钢卷直径
     */
    private String steelDiameter;
    /**
     * 各面缺陷
     */
    private List<SideDefectContents> sideDefectContents;

    /**
     * 区分a 、b面
     */
    @Data
    @Getter
    @Setter
    public static class SideDefectContents{

        /**
         * 区分 a b面
         */
        private String faceType;

        /**
         * 缺陷及内容
         */
        private List<CGDefectParam> cgDefectParam;


    }

}